<?php

namespace Xx2025\Kingdee\Erp\Response;

use Xx2025\Kingdee\Erp\BaseResponse;
use Xx2025\Kingdee\Erp\ResponseInterface;

class GyErpPurchaseArriveGet extends BaseResponse implements ResponseInterface
{
    private static $_instace;


    private bool $purchaseState = false;

    public static function getInstance() :self
    {
        if(empty(self::$_instace)) {
            self::$_instace = new self();
        }
        return clone self::$_instace;
    }

    public function setPurchaseState(bool $bool)
    {
        $this->purchaseState = $bool;
    }

    /**采购入库单状态
     * @return bool
     */
    public function getPurchaseState()
    {
        return $this->purchaseState;
    }



}